from django.urls import path,re_path
from . import views
urlpatterns=[
    path(r'category/',views.CourseCategoryListAPIView.as_view()),
    path(r'',views.CourseAPIView.as_view()),

    # 获取课程详情页面信息
    re_path("(?P<pk>\d+)/",views.CourseRetrieveAPIView.as_view() ),

    path(r"polyv/token/",views.PolyvAPIView.as_view()),
]